#include "raylib.h"
#include "raymath.h"

class MovingObject {
private:
	Vector2 position;
	Color color;
	int size;

public:
	// constructors
	MovingObject() : position({ 0, 0 }), color(BLACK), size(0) {}
	MovingObject(Vector2 pos, Color col, int s)
		: position(pos), color(col), size(s) {}

	// member functions
	Vector2 getPosition() { return position; }
	int getSize() { return size; }
	void setPosition(Vector2 pos) { position = pos; }
	void draw() { DrawCircleV(position, size, color); }
	void setColor(Color newColor) { color = newColor; }
};